package com.lin.cloud.disk.entity.request.department;

import com.lin.cloud.disk.common.entity.request.AccountRequestDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author ljc
 * @date 2021/1/25 17:47
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class DeleteDepartmentRequest extends AccountRequestDTO {

    @ApiModelProperty(value = "部门ID列表", name = "departmentIdList")
    @NotNull(message = "部门名称不能为空")
    private List<Long> departmentIdList;

}
